package com.tmt.im.wallet.controler.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.tmt.im.common.enums.RedPackageType;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/5 8:59
 * @Version 1.0
 **/

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "ReceivedRedPackageItem", description = "领取的红包列表分页查询列表项对象")
public class ReceivedRedPackageItem implements Serializable {

    @Serial
    private static final long serialVersionUID = 4796841355935394829L;

    @Schema(description = "红包ID")
    private Long redPackageId;

    @Schema(description = "红包类型")
    private RedPackageType type;

    @Schema(description = "红包类型名称")
    private String typeName;

    @Schema(description = "红包发出人ID")
    private Long senderId;

    @Schema(description = "红包发出人昵称")
    private String senderNick;

    @Schema(description = "红包发出人头像URL")
    private String senderAvatar;

    @Schema(description = "领取的额度, 单位：分")
    private Long amount;

    @Schema(description = "创建时间")
    private Long createTime;

    @Schema(description = "领取的时间")
    private Long receivedTime;

}
